package com.shop.cloud.model.response.api;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author xiaojun.wang
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
public class ApiGetGoodsOrderDetailResponseModelGoodsList {

	@JsonProperty("icon")
	@ApiModelProperty(value = "缩略图", example = "缩略图", required = true)
	private String icon;

	@JsonProperty("title")
	@ApiModelProperty(value = "标题", example = "标题", required = true)
	private String title;

	@JsonProperty("unit")
	@ApiModelProperty(value = "规格", example = "规格", required = true)
	private String unit;
	
	@JsonProperty("price")
	@ApiModelProperty(value = "价格", example = "价格", required = true)
	private String price;

	@JsonProperty("count")
	@ApiModelProperty(value = "数量", example = "数量", required = true)
	private String count;
	
	/**
	 * 商品类型，1：鸿豆，2：积分，3：返利
	 */
	@JsonProperty("kind")
	@ApiModelProperty(value = "商品类型", example = "商品类型", required = true)
	private String kind;


	@JsonProperty("id")
	@ApiModelProperty(value = "商品id", example = "商品id", required = true)
	private String id;


	public String getIcon() {
		return icon;
	}


	public void setIcon(String icon) {
		this.icon = icon;
	}


	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public String getUnit() {
		return unit;
	}


	public void setUnit(String unit) {
		this.unit = unit;
	}


	public String getPrice() {
		return price;
	}


	public void setPrice(String price) {
		this.price = price;
	}


	public String getCount() {
		return count;
	}


	public void setCount(String count) {
		this.count = count;
	}


	public String getKind() {
		return kind;
	}


	public void setKind(String kind) {
		this.kind = kind;
	}


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}

}
